Installing Ubuntu 12.04.1 LTS 32-bit Server on Adaptec RAID Controllers

1. Copy "aacraid.ko" and "aacraid_1.2.1.29900-1_all.deb" to a USB stick.

2. Start installing Ubuntu 12.04.1 LTS Server from the installation DVD, selecting "Install Ubuntu Server" option.

3. Continue until the "Configure the Network" screen appears, then press CTRL+ALT+F2 and then ENTER when prompted.

3. Insert the USB stick.

4. Type the following commands:

# mkdir /AACRAID
# mount -t vfat /dev/sda1 /mnt
# cp /mnt/aacraid.ko /AACRAID
# umount /mnt

5. *** Remove the USB flash before the insmod command ***

6. Then execute:

# cp -f /AACRAID/aacraid.ko /lib/modules/3.2.0-29-generic-pae/kernel/drivers/scsi/aacraid/aacraid.ko
# insmod /lib/modules/3.2.0-29-generic-pae/kernel/drivers/scsi/aacraid/aacraid.ko

7. Press CTRL+ALT+F1 to return to installer. Continue the installation as usual.  !!! READ STEP 8 NOW !!!

8. When the "Finish the Installation" screen appears, DO NOT PRESS CONTINUE!!!!  Press CTRL+ALT+F2 again.

9. Type the following command:

# cp -f /AACRAID/aacraid.ko /target/lib/modules/3.2.0-29-generic-pae/kernel/drivers/scsi/aacraid/aacraid.ko

You may want to make sure that the new driver was copied correctly before proceeding (because if it was not, you will need to start over):

# ls -l /target/lib/modules/3.2.0-29-generic-pae/kernel/drivers/scsi/aacraid/

10. Continue as follows:

# chroot /target
# /sbin/depmod -a 3.2.0-29-generic-pae
# update-initramfs -u -v
# exit

11. Press CTRL+ALT+F1 to return to the installer. Click on "Continue" to reboot the system.

12. Ensure that you have a connection to the Internet.

13. Install these packages:

# sudo apt-get install build-essential

# sudo apt-get install dkms

14. Insert the USB stick.  Use

# sudo fdisk -l

to locate the USB device. Assuming that it is at /dev/sdb1:

# sudo mount /dev/sdb1 /mnt
# cd /mnt
# sudo dpkg -i aacraid_1.2.1.29900-1_all.deb

# sudo apt-get install linux-headers-$(uname -r)

# sudo dkms add -m aacraid -v 1.2.1.29900
# sudo dkms build -m aacraid -v 1.2.1.29900 
# sudo dkms install m aacraid v 1.2.1.29900

15. Check the status to ensure that the module is installed:

# dkms status

16. Reboot the system.

17. Perform online updates if desired.

# sudo apt-get update
# sudo apt-get upgrade
# sudo apt-get dist-upgrade

18. Reboot. Confirm new kernel with:

# sudo dpkg -l | grep -i linux-image






